package com.hmall.gateway.config;

import org.springframework.core.io.Resource;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.time.Duration;

/**
 * @Classname JwtProperties
 * @Date 2024/11/30 17:17
 * @Created by 鲍宪立
 */
@Data
@ConfigurationProperties(prefix = "hm.jwt")
public class JwtProperties {
    private Resource location;
    private String password;
    private String alias;
    private Duration tokenTTL = Duration.ofMinutes(10);
}
